﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WindowsGame4
{
    class Position
    {
        private int x;
        private int y;
        private String direction;

        public Position(int x, int y, String direction)
        {
            this.x = x;
            this.y = y;
            this.direction = direction;
        }

        public int X
        {
            get { return x; }
            set { x = value; }
        }

        public String Direction
        {
            get { return direction; }
            set { direction = value; }
        }

        public int Y
        {
            get { return y; }
            set { y = value; }
        }    
    }
}
